package com.cy.pj.goods.server;


import com.cy.pj.goods.dao.GoodsDao;
import com.cy.pj.goods.pojo.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface GoodsService {

    List<Goods> findAllGoods();
    void deleteById (Integer id);
    void insert(Goods goods);
    Goods selectById(Integer id);
    void update(Goods goods);

}
